package com.kobeliu.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.kobeliu.utils.LocalDateUtils;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.time.LocalDateTime;

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class ArticleInfoVO {

    private String articleId;
    private String title;
    private String content;
    private String articleCover;
    private String publisher;
    private Integer readCounts;
    private Integer status;
    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = LocalDateUtils.DATETIME_PATTERN)
    private LocalDateTime publishTime;
}
